interface formInfoInput {
  id?: number;
  title?: string;
  placeholder?: string;
  options?: Object[];
  inputType?: string;
}
interface formInfo {
  title?: string;
  btnNames?: string[];
  btnDisabled?: boolean[];
  btnLoading?: boolean[];
  formInfoList?: formInfoInput[];
}

interface chartInfo {
  title?: string;
  legend?: string[];
  xAxisName?: string;
  xAxisData?: string[];
  xAxisSetting?: Object;
  yAxisData?: string[];
  yAxisSetting?: Object;
  seriesData?: Object[];
}
interface chartResults {
  headerNames?: string[];
  header?: string[];
  result?: string;
  chartSelect?: number[];
  chartData?: chartInfo[];
}
// 定义表格
interface tableCol {
  labelName?: string;
  dataProps?: string[];
}
interface tableInfo {
  colInfo?: tableCol[];
  tableData?: Object[];
}
export type { formInfoInput, formInfo, chartInfo, chartResults, tableInfo };
